package com.test.ssm.article.service;

import com.test.ssm.article.entity.pojo.ArticleType;
import com.test.ssm.article.entity.pojo.SystemRole;
import com.test.ssm.article.util.helper.MyPage;

import java.util.List;

public interface SystemRoleService {
    List<SystemRole> getAll();
    MyPage<SystemRole> getAllByPage(Byte roleState, String roleName, Integer pageNum, Integer pageSize);

    Boolean deleteOneById(String roleId);

    long batchDelete(String roleIds);

    Boolean add(SystemRole systemRole);


    Boolean update(SystemRole systemRole);

    SystemRole checkIsExist(String roleName);
}
